#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int my_strlen(char* str)
{
	if (*str != '\0')
		return 1 + my_strlen(++str);
	else
		return 0;
}
int mi_strlen(char* str)
{
	int count = 0;
	while (*str != '\0')
	{
		str++;
		count++;
	}
	return count;
}
int main()
{
	char str[] = "abcd";
	printf("%d\n", my_strlen(str));
	printf("%d\n", mi_strlen(str));
}